<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>trngpsv: xtrngpsv.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">trngpsv
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xtrngpsv_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xtrngpsv.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gaea0612415ab8b736d7d97b4adc253221"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaea0612415ab8b736d7d97b4adc253221">XTRNGPSV_SEC_STRENGTH_BYTES</a>&#160;&#160;&#160;32U</td></tr>
<tr class="memdesc:gaea0612415ab8b736d7d97b4adc253221"><td class="mdescLeft">&#160;</td><td class="mdescRight">Security strength in bytes.  <a href="group___overview.html#gaea0612415ab8b736d7d97b4adc253221">More...</a><br/></td></tr>
<tr class="separator:gaea0612415ab8b736d7d97b4adc253221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0924776ee88fd25a5c0bece9c5b8f6f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gad0924776ee88fd25a5c0bece9c5b8f6f">XTRNGPSV_SEC_STRENGTH_LEN</a>&#160;&#160;&#160;8U</td></tr>
<tr class="memdesc:gad0924776ee88fd25a5c0bece9c5b8f6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Security strength in Words.  <a href="group___overview.html#gad0924776ee88fd25a5c0bece9c5b8f6f">More...</a><br/></td></tr>
<tr class="separator:gad0924776ee88fd25a5c0bece9c5b8f6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa1b89d45919b2e725a614cf1d809fea1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaa1b89d45919b2e725a614cf1d809fea1">XTRNGPSV_PERS_STR_LEN</a>&#160;&#160;&#160;12U</td></tr>
<tr class="memdesc:gaa1b89d45919b2e725a614cf1d809fea1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Personalization string length in dwords.  <a href="group___overview.html#gaa1b89d45919b2e725a614cf1d809fea1">More...</a><br/></td></tr>
<tr class="separator:gaa1b89d45919b2e725a614cf1d809fea1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf6b15aac7d60522637fb0611001e947a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaf6b15aac7d60522637fb0611001e947a">XTRNGPSV_PERS_STR_LEN_BYTES</a>&#160;&#160;&#160;48U</td></tr>
<tr class="memdesc:gaf6b15aac7d60522637fb0611001e947a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Personalization string length in bytes.  <a href="group___overview.html#gaf6b15aac7d60522637fb0611001e947a">More...</a><br/></td></tr>
<tr class="separator:gaf6b15aac7d60522637fb0611001e947a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41ff27942450a6d81e1f7d9c6191d9a8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga41ff27942450a6d81e1f7d9c6191d9a8">XTRNGPSV_SEED_LEN</a>&#160;&#160;&#160;12U</td></tr>
<tr class="memdesc:ga41ff27942450a6d81e1f7d9c6191d9a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Seed length in dwords.  <a href="group___overview.html#ga41ff27942450a6d81e1f7d9c6191d9a8">More...</a><br/></td></tr>
<tr class="separator:ga41ff27942450a6d81e1f7d9c6191d9a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40bd9343969e36296c9aba88c3292d27"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga40bd9343969e36296c9aba88c3292d27">XTRNGPSV_SEED_LEN_BYTES</a>&#160;&#160;&#160;48U</td></tr>
<tr class="memdesc:ga40bd9343969e36296c9aba88c3292d27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Seed length in bytes.  <a href="group___overview.html#ga40bd9343969e36296c9aba88c3292d27">More...</a><br/></td></tr>
<tr class="separator:ga40bd9343969e36296c9aba88c3292d27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga06f7a1bacbc7c2e36bbc3fedcfe6a3bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga06f7a1bacbc7c2e36bbc3fedcfe6a3bd">XTRNGPSV_GEN_LEN_BYTES</a>&#160;&#160;&#160;32U</td></tr>
<tr class="memdesc:ga06f7a1bacbc7c2e36bbc3fedcfe6a3bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">No.  <a href="group___overview.html#ga06f7a1bacbc7c2e36bbc3fedcfe6a3bd">More...</a><br/></td></tr>
<tr class="separator:ga06f7a1bacbc7c2e36bbc3fedcfe6a3bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga46f0a3ec508f00cbb4e98a03f247af89"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga46f0a3ec508f00cbb4e98a03f247af89">RAND_BUF_LEN</a>&#160;&#160;&#160;4U</td></tr>
<tr class="memdesc:ga46f0a3ec508f00cbb4e98a03f247af89"><td class="mdescLeft">&#160;</td><td class="mdescRight">No.  <a href="group___overview.html#ga46f0a3ec508f00cbb4e98a03f247af89">More...</a><br/></td></tr>
<tr class="separator:ga46f0a3ec508f00cbb4e98a03f247af89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga31728e56f9c3da46797c8f6f85241d26"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga31728e56f9c3da46797c8f6f85241d26">MAX_PRE_DF_LEN_BYTES</a>&#160;&#160;&#160;160U</td></tr>
<tr class="memdesc:ga31728e56f9c3da46797c8f6f85241d26"><td class="mdescLeft">&#160;</td><td class="mdescRight">With max DFLenMul of 9 (9+1)*128= 1280 bits.  <a href="group___overview.html#ga31728e56f9c3da46797c8f6f85241d26">More...</a><br/></td></tr>
<tr class="separator:ga31728e56f9c3da46797c8f6f85241d26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d6b66a87f8e568b265cdd21dc07017f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga9d6b66a87f8e568b265cdd21dc07017f">MAX_PRE_DF_LEN_WORDS</a>&#160;&#160;&#160;40U</td></tr>
<tr class="memdesc:ga9d6b66a87f8e568b265cdd21dc07017f"><td class="mdescLeft">&#160;</td><td class="mdescRight">With max DFLenMul of 9 (9+1)*128= 1280 bits.  <a href="group___overview.html#ga9d6b66a87f8e568b265cdd21dc07017f">More...</a><br/></td></tr>
<tr class="separator:ga9d6b66a87f8e568b265cdd21dc07017f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2d2b2bf1930f47ff9fb7bc238dc08fe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaa2d2b2bf1930f47ff9fb7bc238dc08fe">DF_SEED</a>&#160;&#160;&#160;0U</td></tr>
<tr class="memdesc:gaa2d2b2bf1930f47ff9fb7bc238dc08fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">to indicate DF called for seed  <a href="group___overview.html#gaa2d2b2bf1930f47ff9fb7bc238dc08fe">More...</a><br/></td></tr>
<tr class="separator:gaa2d2b2bf1930f47ff9fb7bc238dc08fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e68521988793d741f23baef8a557ae8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga8e68521988793d741f23baef8a557ae8">DF_RAND</a>&#160;&#160;&#160;1U</td></tr>
<tr class="memdesc:ga8e68521988793d741f23baef8a557ae8"><td class="mdescLeft">&#160;</td><td class="mdescRight">to indicate DF called for random number  <a href="group___overview.html#ga8e68521988793d741f23baef8a557ae8">More...</a><br/></td></tr>
<tr class="separator:ga8e68521988793d741f23baef8a557ae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4cf3426801c4918758739472ce5f4e00"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga4cf3426801c4918758739472ce5f4e00">DF_IP_IV_LEN</a>&#160;&#160;&#160;4U</td></tr>
<tr class="memdesc:ga4cf3426801c4918758739472ce5f4e00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input IV Length for DF.  <a href="group___overview.html#ga4cf3426801c4918758739472ce5f4e00">More...</a><br/></td></tr>
<tr class="separator:ga4cf3426801c4918758739472ce5f4e00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05c28f2a4b49e991e1fa97892e60e25f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga05c28f2a4b49e991e1fa97892e60e25f">BYTES_PER_BLOCK</a>&#160;&#160;&#160;16U</td></tr>
<tr class="memdesc:ga05c28f2a4b49e991e1fa97892e60e25f"><td class="mdescLeft">&#160;</td><td class="mdescRight">No.  <a href="group___overview.html#ga05c28f2a4b49e991e1fa97892e60e25f">More...</a><br/></td></tr>
<tr class="separator:ga05c28f2a4b49e991e1fa97892e60e25f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53c75d04758b1f585676276cedf05f00"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga53c75d04758b1f585676276cedf05f00">DF_PAD_DATA_LEN</a>&#160;&#160;&#160;8U</td></tr>
<tr class="memdesc:ga53c75d04758b1f585676276cedf05f00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Length of Padding data used for DF calculation.  <a href="group___overview.html#ga53c75d04758b1f585676276cedf05f00">More...</a><br/></td></tr>
<tr class="separator:ga53c75d04758b1f585676276cedf05f00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7ccdabd4af3a88410a98cdd43d9ad077"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga7ccdabd4af3a88410a98cdd43d9ad077">XTRNGPSV_SUCCESS</a>&#160;&#160;&#160;(s32)XST_SUCCESS</td></tr>
<tr class="memdesc:ga7ccdabd4af3a88410a98cdd43d9ad077"><td class="mdescLeft">&#160;</td><td class="mdescRight">SUCCESS definition of TRNGPSV driver.  <a href="group___overview.html#ga7ccdabd4af3a88410a98cdd43d9ad077">More...</a><br/></td></tr>
<tr class="separator:ga7ccdabd4af3a88410a98cdd43d9ad077"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52f43a92294af0b8fd785544e9b294f6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga52f43a92294af0b8fd785544e9b294f6">XTRNGPSV_FAILURE</a>&#160;&#160;&#160;(s32)XST_FAILURE</td></tr>
<tr class="memdesc:ga52f43a92294af0b8fd785544e9b294f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">FAILURE definition of TRNGPSV driver.  <a href="group___overview.html#ga52f43a92294af0b8fd785544e9b294f6">More...</a><br/></td></tr>
<tr class="separator:ga52f43a92294af0b8fd785544e9b294f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad1f07fdd73a4afb2c861bade6e4c87a7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gad1f07fdd73a4afb2c861bade6e4c87a7">XTRNGPSV_TRUE</a>&#160;&#160;&#160;(u32)TRUE</td></tr>
<tr class="memdesc:gad1f07fdd73a4afb2c861bade6e4c87a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boolean TRUE definition of TRNGPSV driver.  <a href="group___overview.html#gad1f07fdd73a4afb2c861bade6e4c87a7">More...</a><br/></td></tr>
<tr class="separator:gad1f07fdd73a4afb2c861bade6e4c87a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab7f8c9e37494766a7cbbb6c1e5a7447c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gab7f8c9e37494766a7cbbb6c1e5a7447c">XTRNGPSV_FALSE</a>&#160;&#160;&#160;(u32)FALSE</td></tr>
<tr class="memdesc:gab7f8c9e37494766a7cbbb6c1e5a7447c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boolean FALSE definition of TRNGPSV driver.  <a href="group___overview.html#gab7f8c9e37494766a7cbbb6c1e5a7447c">More...</a><br/></td></tr>
<tr class="separator:gab7f8c9e37494766a7cbbb6c1e5a7447c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb934e85e393ce2b9c49a678ccd08e99"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gadb934e85e393ce2b9c49a678ccd08e99">XTRNGPSV_SWAP_ENDIAN</a>&#160;&#160;&#160;Xil_EndianSwap32</td></tr>
<tr class="memdesc:gadb934e85e393ce2b9c49a678ccd08e99"><td class="mdescLeft">&#160;</td><td class="mdescRight">Macro to swap endianness of 32 bit data.  <a href="group___overview.html#gadb934e85e393ce2b9c49a678ccd08e99">More...</a><br/></td></tr>
<tr class="separator:gadb934e85e393ce2b9c49a678ccd08e99"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga9f1b86469104145ec6c6065cf0259f56"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga9f1b86469104145ec6c6065cf0259f56">XTrngpsv_ErrorCodes</a> { <br/>
&#160;&#160;<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56aca3cf3a52adbdbb2d5827102e1c51db0">XTRNGPSV_ERROR_INVALID_PARAM</a> = 0x10, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a06f62a3ac46499f02d2fde257de6b2f3">XTRNGPSV_ERROR_INVALID_STATE</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ae22bff87ddcfca70694140746ceaf68c">XTRNGPSV_ERROR_UNNECESSARY_PARAM</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56abe7d61c544183870ff70755db3d919c8">XTRNGPSV_ERROR_GLITCH</a>, 
<br/>
&#160;&#160;<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ac371fb73ec46f9cd36dd9e94000c1c7c">XTRNGPSV_ERROR_NOT_UNINSTANTIATED</a> = 0x20, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ad466ddc493af48e3ba5de9a2009ef505">XTRNGPSV_ERROR_INVALID_USRCFG_MODE</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a0db6c769e93c888dc7638e9132455304">XTRNGPSV_ERROR_INVALID_USRCFG_SEEDLIFE</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a13f6dc12c026faa8b36598771fdce916">XTRNGPSV_ERROR_INVALID_USRCFG_PREDRES</a>, 
<br/>
&#160;&#160;<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ade989906bf5876a3a56976d19ee16dcc">XTRNGPSV_ERROR_NO_SEED_INSTANTIATE</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ad923ccb4386aca16f9b7987432823ca9">XTRNGPSV_ERROR_INVALID_USRCFG_DFDIS</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56afe7a5ff1a79c9b0b6085a93866d06d24">XTRNGPSV_ERROR_INVALID_USRCFG_DFLENMUL</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a66a1c6d7333e5a4e7421ce415e991424">XTRNGPSV_ERROR_USRCFG_CPY</a>, 
<br/>
&#160;&#160;<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a9ebe6fdb45b3b4a36fedf4da64ebbc74">XTRNGPSV_ERROR_INVALID_USRCFG_PERSPRES</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ad94ad66ed5cbc68433c5f75ca4f7359f">XTRNGPSV_ERROR_INVALID_USRCFG_SEEDPRES</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a30114bfd7f9c7160d782027a9b2b6ac9">XTRNGPSV_ERROR_UNNECESSARY_PARAM_INSTANTIATE</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a9567c8b4eb47f175b1b6764206875295">XTRNGPSV_ERROR_NO_SEED</a> = 0x30, 
<br/>
&#160;&#160;<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56aafade3c0f9e5ab0d69eceea356377ee8">XTRNGPSV_ERROR_SEED_INVALID_MODE</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a272098a343ab09ea94ba1885db55dcf3">XTRNGPSV_ERROR_SAME_SEED</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a669ab77676320e1d2b5a3980c4641d94">XTRNGPSV_ERROR_INVALID_RESEED_DFLENMUL</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a38de995c54243c2736963e77b7028d59">XTRNGPSV_ERROR_CERTF</a>, 
<br/>
&#160;&#160;<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ab02c11dcb7f8c29cb8fd217db5ed8e54">XTRNGPSV_ERROR_CERTF_SW_A5_PATTERN</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a9a6c17bbd6053b6a5ae54278d40d4352">XTRNGPSV_ERROR_RESEED_TIMEOUT</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56af9abae84a21d46d963040b1d55c32a00">XTRNGPSV_ERROR_CPY_RESEED</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a497899d0f8dd32d608529c9f74be565e">XTRNGPSV_ERROR_INSUFFICIENT_RANDBUF</a> = 0x40, 
<br/>
&#160;&#160;<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a0f3e632f377691617a859ba4596fafe1">XTRNGPSV_ERROR_PREDRES_MISMATCH</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a014b009e395abefc615408fce9eca8ab">XTRNGPSV_ERROR_RESEEDING_REQUIRED</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ac7a434ac1268f464c801b2630cd1b4eb">XTRNGPSV_ERROR_RESEED_REQD_PREDRES</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a4d7fac79c506e60ac9a31d29c10400b4">XTRNGPSV_ERROR_INVALID_GEN_PREDRES</a>, 
<br/>
&#160;&#160;<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ad273a41fe8e545b3c112ac6d3977b8a0">XTRNGPSV_ERROR_CATASTROPHIC_DTF</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a7fcd167c763a1c8aec791bb1112ad33b">XTRNGPSV_ERROR_CATASTROPHIC_DTF_SW</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56af26064e8990fc29679943d0ba6c6d0db">XTRNGPSV_ERROR_GENERATE_TIMEOUT</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ab3005478aff2a764777653ebf2c6b454">XTRNGPSV_ERROR_INVALID_RANDBUF_ADDR</a>, 
<br/>
&#160;&#160;<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a48f765dbeb3b2cc22af9a4f60a86d341">XTRNGPSV_ERROR_DF_CPY</a> = 0x50, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56aab988ddcb8208fd7411ca353c3e47d6e">XTRNGPSV_ERROR_DF_SETUP_KEY_FAILED</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a9d7ddd0ac9d32c8f849f4060cb38de51">XTRNGPSV_ERROR_DF_MEMSET</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a9eaa03d12dac772945e20716206a573d">XTRNGPSV_ERROR_DF_MEMMOVE</a>, 
<br/>
&#160;&#160;<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56ad765117a164b076aa61cbc9636d5f21f">XTRNGPSV_ERROR_HEALTHTEST_INVALID_MODE</a> = 0x60, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56af5ddb9c12755bee6731676ee834956c8">XTRNGPSV_ERROR_KAT_MISMATCH</a>, 
<a class="el" href="group___overview.html#gga9f1b86469104145ec6c6065cf0259f56a6f3e935a71ffe247d551eb75964b3d0c">XTRNGPSV_ERROR_USRCFG_CPY_KAT</a>
<br/>
 }</td></tr>
<tr class="separator:ga9f1b86469104145ec6c6065cf0259f56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga09343136ce617c1b5f78773c5c76a65c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga09343136ce617c1b5f78773c5c76a65c">XTrngpsv_State</a> { <a class="el" href="group___overview.html#gga09343136ce617c1b5f78773c5c76a65ca93645f1e0614c38360b3fc9025e9a2f4">XTRNGPSV_UNINITIALIZED</a> = 0, 
<a class="el" href="group___overview.html#gga09343136ce617c1b5f78773c5c76a65ca898cfed19663d0a006c0ed26cfc4d018">XTRNGPSV_HEALTHY</a>, 
<a class="el" href="group___overview.html#gga09343136ce617c1b5f78773c5c76a65ca496a2db26a91d4702ca899c18fdad767">XTRNGPSV_ERROR</a>, 
<a class="el" href="group___overview.html#gga09343136ce617c1b5f78773c5c76a65ca1ade1f44706d24f4ae27731f6af005d6">XTRNGPSV_CATASTROPHIC</a>
 }</td></tr>
<tr class="separator:ga09343136ce617c1b5f78773c5c76a65c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga700b9f07a7bacf41dad856461d65b412"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga700b9f07a7bacf41dad856461d65b412">XTrngpsv_Mode</a> { <a class="el" href="group___overview.html#gga700b9f07a7bacf41dad856461d65b412ad387c3dbacea0bfd30a6c60b88e15b35">XTRNGPSV_HRNG</a> = 0, 
<a class="el" href="group___overview.html#gga700b9f07a7bacf41dad856461d65b412a8089d4a7ae40115f3d1bb0b09c3521b0">XTRNGPSV_DRNG</a>, 
<a class="el" href="group___overview.html#gga700b9f07a7bacf41dad856461d65b412aeafa8e3f86061ce02d33ed76ed1ec647">XTRNGPSV_PTRNG</a>
 }</td></tr>
<tr class="separator:ga700b9f07a7bacf41dad856461d65b412"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga9b06ac326694fa3a8cf6407ff99c644f"><td class="memItemLeft" align="right" valign="top">XTrngpsv_Config *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga9b06ac326694fa3a8cf6407ff99c644f">XTrngpsv_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga9b06ac326694fa3a8cf6407ff99c644f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns a reference to an XTrng_Config structure based on the DeviceId.  <a href="group___overview.html#ga9b06ac326694fa3a8cf6407ff99c644f">More...</a><br/></td></tr>
<tr class="separator:ga9b06ac326694fa3a8cf6407ff99c644f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b6a82053b11bedbd37a2a82dd0ba14d"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga7b6a82053b11bedbd37a2a82dd0ba14d">XTrngpsv_Instantiate</a> (XTrngpsv *InstancePtr, const XTrngpsv_UsrCfg *ConfigurValues)</td></tr>
<tr class="memdesc:ga7b6a82053b11bedbd37a2a82dd0ba14d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function further initializes i.e.  <a href="group___overview.html#ga7b6a82053b11bedbd37a2a82dd0ba14d">More...</a><br/></td></tr>
<tr class="separator:ga7b6a82053b11bedbd37a2a82dd0ba14d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7740e9622a48052d5ebb9ddf10165138"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga7740e9622a48052d5ebb9ddf10165138">XTrngpsv_Reseed</a> (XTrngpsv *InstancePtr, const u8 *ExtSeedPtr, u32 DFLenMul)</td></tr>
<tr class="memdesc:ga7740e9622a48052d5ebb9ddf10165138"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reseeds the TRNG in DRNG, HRNG modes.  <a href="group___overview.html#ga7740e9622a48052d5ebb9ddf10165138">More...</a><br/></td></tr>
<tr class="separator:ga7740e9622a48052d5ebb9ddf10165138"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d5b1c7182c8de3767e0345a3435ffe5"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga2d5b1c7182c8de3767e0345a3435ffe5">XTrngpsv_Generate</a> (XTrngpsv *InstancePtr, u8 *RandBufPtr, u32 RandBufSize, u8 PredResistanceEn)</td></tr>
<tr class="memdesc:ga2d5b1c7182c8de3767e0345a3435ffe5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This the function which actually generates and provides random bits to the caller.  <a href="group___overview.html#ga2d5b1c7182c8de3767e0345a3435ffe5">More...</a><br/></td></tr>
<tr class="separator:ga2d5b1c7182c8de3767e0345a3435ffe5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0c8b58adb37a766661ca12aa302ed53"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gad0c8b58adb37a766661ca12aa302ed53">XTrngpsv_Uninstantiate</a> (XTrngpsv *InstancePtr)</td></tr>
<tr class="memdesc:gad0c8b58adb37a766661ca12aa302ed53"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to put the TRNG in reset state, and clear the instance data including configuration, status.  <a href="group___overview.html#gad0c8b58adb37a766661ca12aa302ed53">More...</a><br/></td></tr>
<tr class="separator:gad0c8b58adb37a766661ca12aa302ed53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga385580225d449ba49c6425fc61836092"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga385580225d449ba49c6425fc61836092">XTrngpsv_DF</a> (XTrngpsv *InstancePtr, u8 *DFOutput, u32 DF_Flag, const u8 *PersStrPtr)</td></tr>
<tr class="memdesc:ga385580225d449ba49c6425fc61836092"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function implements the Derivative Function (per NIST SP80090A) by distilling the entropy available in a lot of bits at its input (DFInput) into a smaller number of bits on the output (DFOutput), thus bringing entropy per bit to 1.  <a href="group___overview.html#ga385580225d449ba49c6425fc61836092">More...</a><br/></td></tr>
<tr class="separator:ga385580225d449ba49c6425fc61836092"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4db54d9685d0ac834bf95023fe659a0d"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga4db54d9685d0ac834bf95023fe659a0d">XTrngpsv_RunKAT</a> (XTrngpsv *InstancePtr)</td></tr>
<tr class="memdesc:ga4db54d9685d0ac834bf95023fe659a0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">KAT can be run at startup and on demand.  <a href="group___overview.html#ga4db54d9685d0ac834bf95023fe659a0d">More...</a><br/></td></tr>
<tr class="separator:ga4db54d9685d0ac834bf95023fe659a0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab3d40fb1f24910ed5c246968ac462b69"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gab3d40fb1f24910ed5c246968ac462b69">XTrngpsv_RunHealthTest</a> (XTrngpsv *InstancePtr)</td></tr>
<tr class="memdesc:gab3d40fb1f24910ed5c246968ac462b69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Health tests are entropy tests and hence should be run when the configured mode is of PTRNG or HRNG mode.  <a href="group___overview.html#gab3d40fb1f24910ed5c246968ac462b69">More...</a><br/></td></tr>
<tr class="separator:gab3d40fb1f24910ed5c246968ac462b69"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
